home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: selection shapes
- Sent: 3/11/96 8:43 AM
- Received: 3/11/96 8:51 AM
- From: lamiraux@apple.com
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >There are 3 different shape functions for the selection class:
- >
- >CreateSelectionFrameShape, CreateSelectionShape, & CreateSelectionOutline
- >
- >What is the purpose of each of these shapes and what should I
- >return?
- >
- >Thanks
- >
- >Scott Daniels
- >e-mail: scottdfl@aol.com
-
- CreateSelectionFrameShape:
-
- This is a shape that will be added to the clipboard and/or drag&drop
- storage unit in the kODPropFrameShape property. This shape, if present,
- will be used by the destination part in case of an embedding to set up
- the frame shape of the newly created frame.
-
- CreateSelectionShape:
-
- This is a shape bounding your selection. It is used by ODF to hit test
- your selection in FW_CSelection::IsMouseInDraggableItem. Could be the
- same as CreateSelectionFrameShape.
-
- CreateSelectionOutline
-
- This is usually just the outline of the previous shape. The default
- implementation just calls CreateSelectionShape and outline it
-
-
- I agree that the naming used could be better but all three methods have
- to do with selection, shape, and creation. It is very hard to find a good
- name.
-
- Henri Lamiraux
- ODF Team
-